//
//  TTPayOrderViewController.h
//  TaoTuo
//
//  Created by admin on 2019/11/13.
//  Copyright © 2019 admin. All rights reserved.
//

#import "LLBaseViewController.h"
#import "TTPayOrderModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface TTPayOrderViewController : LLBaseViewController
// ------------------ 为了方便子类使用，写到外面 ------------------
@property (nonatomic, strong) UITableView *tableView;
@property (nonatomic, strong) NSMutableArray *dataArray;

@property (nonatomic, copy) NSString *orderNum;
@property (nonatomic, copy) NSString *totalMoney;
@property (nonatomic, copy) NSString *address;
@property (nonatomic, copy) NSString *nameAndphone;
@property (nonatomic, strong) NSMutableArray *buttonCellModelArray;
@property (nonatomic, strong) TTPayOrderModel *selectOrderModel;    // 选中的那个

- (void)setupDatasWithPayListArray:(NSArray *)payArray;

/// 添加支付成功的回调
- (void)addPayResultNotify;

/// 暂不支付
- (void)notPayBtnClick;

/// 去支付成功页面
- (void)gotoSuccessPage;

// ------------------------------------------------------------------------

///订单号，订单金额
- (instancetype)initWithOrderNum:(nullable NSString *)orderNum totalMoney:(nullable NSString *)totalMoney address:(nullable NSString *)address nameAndphone:(nullable NSString *)nameAndphone;

@end

NS_ASSUME_NONNULL_END
